package com.zheng.作业01;

public class Test {
    public static void main(String[] args) {
        Employee e=new Employee("001","ZHANGSAN",20,20000);
        e.getinfo();
        Programmer p=new Programmer("002","LISHI",20,20000,"java");
        p.getinfo();
        Designer d=new Designer("003","WANGWU",21,20000,"JAVA",5000);
        d.getinfo();
        Architect a=new Architect("001","LISHI",20,20000,"JAVA",5000,2);
        a.getinfo();



    }
}
